package com.tarena.lbs.user.dao.repository;

import com.github.pagehelper.PageInfo;
import com.tarena.lbs.user.pojo.po.UserPO;
import com.tarena.lbs.user.pojo.query.UserQuery;

public interface UserRepository {

    UserPO getByPhone(String phone);

    Long countUserByPhone(String phone);

    void save(UserPO po);

    UserPO getById(Integer userId);

    PageInfo<UserPO> pagesList(UserQuery userQuery);

}
